const { mysql: config } = require('../config')
const CONF = {
  selfmysql: {
    host: 'localhost',
    port: 3306,
    user: 'root',
    db: 'selfuse',
    //pass: 'wx655fcd90c2e65584',
    pass: '1tDLeXry',
    char: 'utf8mb4'
  },
  
}
selfuse = require('knex')({
  client: 'mysql',
  connection: {
    host: config.host,
    port: config.port,
    user: config.user,
    password: config.pass,
    database: 'selfuse',
    charset: config.char,
    multipleStatements: true
  }
})
module.exports = selfuse
